package com.aaa.inbound.feign;

import com.aaa.entity.base.Locator;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Create By WanJiale on 2020/12/1.
 */
@FeignClient(value = "base-service")
public interface BaseFeign {
    /*通过货位id查询目标货位*/
    @GetMapping("/base/locator/selectLocById")
    @ApiOperation(value = "通过货位id查询目标货位")
    Locator selectLocById(@RequestParam Long id);
}
